import Vue from 'vue'
import app from './app.vue'
import router from './router'
import axios from 'axios'
import filter from "./filter/filter";

//请求
Vue.prototype.$axios = axios;

// 全局过滤器
Object.keys(filter).forEach(key => {
    Vue.filter(key, filter[key])
});

Vue.config.productionTip = false

new Vue({
    router,         //路由
    render: h => h(app),
}).$mount('#app')
